package com.zzz.proxy;

import android.util.Log;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class ProxyInvocationT<T> implements InvocationHandler {
    T target;

    public ProxyInvocationT(T target) {
        this.target=target;
    }

    @Override
    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {

        Log.e("invokeT","invokeT"+method);
        Log.e("invokeT","invokeT"+args);


        Object result=method.invoke(target,args);

        return null;
    }
}
